import { http } from '@/utils/http/axios';

/**
 * 查询接口阐述
 */
export function getReflectPageList(params: any) {
  return http.request({
    url: '/system/reflect/list',
    method: 'POST',
    params,
  });
}

/**
 * 审核
 * @param params
 */
export function reflectVerify(params: any) {
  return http.request({
    url: '/system/reflect/verify',
    method: 'POST',
    params,
  });
}

/**
 * 获取红包配置
 */
export function getRedpackConfig() {
  return http.request({
    url: '/system/red/config',
    method: 'GET',
  });
}

/**
 * 修改红包配置
 * @param params
 */
export function updateRedpackConfig(params: any) {
  return http.request({
    url: '/system/red/config/update',
    method: 'POST',
    params,
  });
}
